package com.sgs.carbon.web.modules.common.dal.dataobject.dict;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sgs.carbon.common.enums.CommonStatusEnum;
import com.sgs.carbon.starter.mybatis.core.dataobject.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 字典类型表
 *
 * @author Dave Liu
 * @since 2021-10-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_dict_type")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SysDictTypeDO extends BaseDO {

    /**
     * 字典主键
     */
    @TableId
    private Long id;

    /**
     * 字典名称
     */
    private String name;

    /**
     * 字典类型
     */
    @TableField("`type`")
    private String type;

    /**
     * 状态
     *
     * 枚举 {@link CommonStatusEnum}
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

}
